@(species:String)(implicit session: Session)
@title = @{
     species match{
        case "CON" => " <i>Camellia oleifera </i> Abel. var. “Nanyongensis”"
        case "Camellia_lanceoleosa" => " <i>Camellia lanceoleosa </i>"
        case "Coleifera" => " <i>Camellia chekiangoleosa </i>"
        case "Camellia_crapnelliana" => " <i>Camellia crapnelliana </i>"
    }
}
@config.main("Genome") {

    <div class="body-box">
        <div class="page-box">

            @config.subTitle(title)

            <div class="main-body">
                @components.table()

            </div>
        </div>
    </div>

    <script>

            $(function () {
                let columns = getTableColumns(genomeHeader,"table")


                $("#table").bootstrapTable({
                    method: "post",
                    url: "@routes.GenomeController.getAllGene(species)",
                    sidePagination: "server",
                    contentType: "application/x-www-form-urlencoded",
                    columns:columns
                })

                let hide = ["go"]

                hide.forEach(v => {
                    $('#table').bootstrapTable('hideColumn', v);
                    $("input:checkbox[value=" + v + "]").attr("checked", false)
                })
            })


    </script>

}